function(require, module, exports, window, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, XMLHttpRequest, WebSocket, Reporter, webkit, WeixinJSCore) {
    "use strict";
    var t = require("../../../../utils/base"),
    a = getApp(),
    i = new t.Base;
    Page({
        data: {
            bookId: "",
            staticImgUrl: a.globalData.staticImgUrl,
            obtainList: [{
                name: "ãè¯æ±çé»è¾ä¸»é¢çãï¼åä¹¦ï¼",
                intro: "ä¸åä¹¦ä¿æä¸è´ï¼æä¸»é¢ååï¼åè¯è®°å¿æ´æé»è¾"
            },
            {
                name: "ãè¯æ±çé»è¾ä¸»é¢çãï¼åä¹¦ï¼",
                intro: "ä¸åä¹¦ä¿æä¸è´ï¼æä¸»é¢ååï¼åè¯è®°å¿æ´æé»è¾"
            },
            {
                name: "ãè¯æ±çé»è¾ä¸»é¢çãï¼åä¹¦ï¼",
                intro: "ä¸åä¹¦ä¿æä¸è´ï¼æä¸»é¢ååï¼åè¯è®°å¿æ´æé»è¾"
            },
            {
                name: "ãè¯æ±çé»è¾ä¸»é¢çãï¼åä¹¦ï¼",
                intro: "ä¸åä¹¦ä¿æä¸è´ï¼æä¸»é¢ååï¼åè¯è®°å¿æ´æé»è¾"
            },
            {
                name: "ãè¯æ±çé»è¾ä¸»é¢çãï¼åä¹¦ï¼",
                intro: ""
            }],
            unclockList: ["å³æ³¨ä¸æ¹å¬ä¼å·", "å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡", "å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡å¼å¯¼ææ¡"],
            system: 0
        },
        onLoad: function(t) {
            this.setData({
                bookId: t.bookid
            }),
            this.initData(this.data.bookId);
            var a = this;
            wx.getSystemInfo({
                success: function(t) {
                    console.log(t),
                    t.system.indexOf("iOS") >= 0 && a.setData({
                        system: 1
                    })
                }
            })
        },
        initData: function(t) {
            var a = this,
            e = "/bookmanage/book/bookinfo/right-" + t + ".txt";
            return new Promise(function(t) {
                i.getCDNFile(e).then(function(i) {
                    if ("fail" == i) t("fail");
                    else {
                        var e = JSON.parse(i.data);
                        console.log(e),
                        a.setData({
                            obtainList: e
                        })
                    }
                })
            })
        },
        onShareAppMessage: function() {
            return {
                title: "[èä¸èè¯]ä¸èµ·æ¥å­¦ä¹ å§~",
                imageUrl: this.data.staticImgUrl + "/bg/sharethumb.png",
                path: "/pages/study/index"
            }
        }
    });
}